import type { FieldRule } from '@arco-design/web-vue';

export const name = [
  {
    required: true,
    message: '请输入角色名称',
  },
  {
    maxLength: 32,
    message: '角色名称长度不能大于32位',
  },
] as FieldRule[];
export const code = [
  {
    required: true,
    message: '请输入角色标识',
  },
] as FieldRule[];
export const note = [
  {
    required: true,
    message: '请输入角色备注',
  },
] as FieldRule[];


export default {
  name,
  code,
  note
} as Record<string, FieldRule | FieldRule[]>;
